var limsPjReport = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, Gikam.status.getBpmnColumn(limsPjReport.workflow.dbTable), {
            field : 'reportNo',
            title : 'T_LIMS_PJ_REPORT.REPORTNO'
        }, {
            field : 'batchCode',
            title : 'T_LIMS_PJ_REPORT.BATCHCODE'
        }, {
            field : 'productCode',
            title : 'T_LIMS_PJ_REPORT.PRODUCTCODE'
        }, {
            field : 'productName',
            title : 'T_LIMS_PJ_REPORT.PRODUCTNAME'
        }, {
            field : 'sampleIds',
            title : 'T_LIMS_PJ_REPORT.SAMPLEIDS'
        }, {
            field : 'sampleCodes',
            title : 'T_LIMS_PJ_REPORT.SAMPLECODES'
        }, {
            field : 'folderIds',
            title : 'T_LIMS_PJ_REPORT.FOLDERIDS'
        }, {
            field : 'folderCodes',
            title : 'T_LIMS_PJ_REPORT.FOLDERCODES'
        }, {
            field : 'reportTemplateCode',
            title : 'T_LIMS_PJ_REPORT.REPORTTEMPLATECODE'
        }, {
            field : 'reportTemplateName',
            title : 'T_LIMS_PJ_REPORT.REPORTTEMPLATENAME'
        }, {
            field : 'generatorId',
            title : 'T_LIMS_PJ_REPORT.GENERATORID'
        }, {
            field : 'generator',
            title : 'T_LIMS_PJ_REPORT.GENERATOR'
        }, {
            field : 'signerId',
            title : 'T_LIMS_PJ_REPORT.SIGNERID'
        }, {
            field : 'signer',
            title : 'T_LIMS_PJ_REPORT.SIGNER'
        }, {
            field : 'remark',
            title : 'T_LIMS_PJ_REPORT.REMARK'
        }, {
            field : 'reportFileName',
            title : 'T_LIMS_PJ_REPORT.REPORTFILENAME'
        }, {
            field : 'type',
            title : 'T_LIMS_PJ_REPORT.TYPE'
        } ];
    },

    getBaseInfoFormFields : function() {
        return [ {
            field : 'reportNo',
            title : 'T_LIMS_PJ_REPORT.REPORTNO',
            validators : [ 'strLength[0,16]' ]
        }, {
            field : 'batchCode',
            title : 'T_LIMS_PJ_REPORT.BATCHCODE',
            validators : [ 'strLength[0,16]' ]
        }, {
            field : 'productCode',
            title : 'T_LIMS_PJ_REPORT.PRODUCTCODE',
            validators : [ 'strLength[0,33]' ]
        }, {
            field : 'productName',
            title : 'T_LIMS_PJ_REPORT.PRODUCTNAME',
            validators : [ 'strLength[0,66]' ]
        }, {
            field : 'sampleIds',
            title : 'T_LIMS_PJ_REPORT.SAMPLEIDS',
            validators : [ 'strLength[0,133]' ]
        }, {
            field : 'sampleCodes',
            title : 'T_LIMS_PJ_REPORT.SAMPLECODES',
            validators : [ 'strLength[0,133]' ]
        }, {
            field : 'folderIds',
            title : 'T_LIMS_PJ_REPORT.FOLDERIDS',
            validators : [ 'strLength[0,133]' ]
        }, {
            field : 'folderCodes',
            title : 'T_LIMS_PJ_REPORT.FOLDERCODES',
            validators : [ 'strLength[0,133]' ]
        }, {
            field : 'reportTemplateCode',
            title : 'T_LIMS_PJ_REPORT.REPORTTEMPLATECODE',
            validators : [ 'strLength[0,33]' ]
        }, {
            field : 'reportTemplateName',
            title : 'T_LIMS_PJ_REPORT.REPORTTEMPLATENAME',
            validators : [ 'strLength[0,66]' ]
        }, {
            field : 'generatorId',
            title : 'T_LIMS_PJ_REPORT.GENERATORID',
            validators : [ 'strLength[0,16]' ]
        }, {
            field : 'generator',
            title : 'T_LIMS_PJ_REPORT.GENERATOR',
            validators : [ 'strLength[0,33]' ]
        }, {
            field : 'signerId',
            title : 'T_LIMS_PJ_REPORT.SIGNERID',
            validators : [ 'strLength[0,16]' ]
        }, {
            field : 'signer',
            title : 'T_LIMS_PJ_REPORT.SIGNER',
            validators : [ 'strLength[0,33]' ]
        }, {
            field : 'remark',
            title : 'T_LIMS_PJ_REPORT.REMARK',
            validators : [ 'strLength[0,66]' ]
        }, {
            field : 'reportFileName',
            title : 'T_LIMS_PJ_REPORT.REPORTFILENAME',
            validators : [ 'strLength[0,66]' ]
        }, {
            field : 'type',
            title : 'T_LIMS_PJ_REPORT.TYPE',
            validators : [ 'strLength[0,3]' ]
        }, ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/business/pj-reports',

    workflow : {
        dbTable : 'T_LIMS_PJ_REPORT',
        columns : [ {
            field : 'id',
            title : 'T_LIMS_PJ_REPORT.ID'
        } ]
    }

});
